/**
 * 查询参数
 */
export interface EngItemQuery extends PageQuery {
  /**
   * 关键字(名称/编码)
   */
  keywords?: string;
  startUpdateTime?: string;
  endUpdateTime?: string;
  isBuyer?: number;
}

/**
 * 表单对象 如果没有 ? 就必须定义默认值 如：status字段
 */
export interface EngItemFormVO {
  id?: number;
  itemName?: string;
  itemNo?: string;
  itemSpec?: string;
  model?: string;
  drawingNo?: string;
  itemColor?: string;
  unit?: string;
  mb?: string;
  it?: string;
  st?: string;
  isInspect?: number;
  capacity?: number;
  cavity?: number;

  netWeight?: number;
  runnerWeight?: number;
  packWeight?: number;
  packVolume?: number;
  packType?: string;
  packQty?: number;
  planner?: string;
  buyer?: string;
  salesman?: string;
  orderPolicy?: number;

  fixedLeadTime?: number;
  changeBatch?: number;
  changeDays?: number;
  leadTime?: number;

  lotSizeDay?: number;
  moq?: number;
  multiple?: number;
  yield?: number;
  store?: string;
  bin?: string;

  status: number;
  remark?: string;
  sort?: number;

  storebin?: string[];
}

/**
 * 分页项类型声明
 */
export type EngItemPageResult = PageResult<EngItemFormVO[]>;
